package com.wangyi.org.mapper;

import com.wangyi.basic.mapper.BaseMapper;
import com.wangyi.org.domain.Employee;
import org.apache.ibatis.annotations.Param;

/**
 * Mapper接口：员工
 */
public interface EmployeeMapper extends BaseMapper<Employee> {
    void addEmployeeRole(@Param("id") Long id, @Param("role_id") Long role_id);

    void delEmployeeRole(Long id);

    Employee loadByLogininfoId(Long id);
}
